from myelin.Ns import MYELIN
from Document import Document

from ObjectTypes import \
    CommentTypeO, CommentTypeS, \
    ContainerTypeS

from mappings import \
    DocParentMap


class Comment(Document):
    
    ModelTypes = (CommentTypeO, CommentTypeS)
    
    RDF_BINDINGS = {
        'mParentContains'    : ((MYELIN, 'comment'), ContainerTypeS, DocParentMap),
    }

    
CLASS_TYPES = {
    MYELIN + 'Comment' : Comment,
}